<?php

class DiscussionPeer extends BaseDiscussionPeer
{
    public static function doCountDiscussion($id){
       $c = new Criteria();
       $c->add(DiscussionPeer::ID_GROUPE,$id);
       return parent::doCount($c);
    }
}
